package cn.lopr.im.android.mvp.contact;

import java.util.List;

import cn.lopr.im.android.bean.ArticleCommentVo;
import cn.lopr.im.android.bean.ArticleVo;
import cn.lopr.im.android.common.ViewBase;

/**
 * @author shuangyang7
 * @date 2021/5/23 11:51
 */
public interface IArticleViewContact {

    interface IArticleViewView extends ViewBase {
        void getCommentSuccess(List<ArticleCommentVo> data);

        void addCommentSuccess();

        void getArticleSuccess(ArticleVo articleVo);

        String getComment();

        String getArticleId();

        Integer getUserId();

        String getReplyCommentId();
    }

    interface IArticleViewPresenter {

        void getArticle(String token);

        void getComment(String token, int page, int size);

        void updateArticleCommentNum(String token);

        void addComment(String token);
    }

    interface IArticleViewModel {

    }
}
